﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page/MasterPage.master" AutoEventWireup="true"
    CodeFile="RFPList.aspx.cs" Inherits="Page_RFP_RFPList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicRFPTop" runat="server" ImageUrl="~/Images/RFP/bgpicRFPTop.png" />
        </div>
        <div id="RFPList">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:GridView ID="GVRFP" runat="server" AutoGenerateColumns="False" 
                    Width="496px" AllowPaging="True" onpageindexchanging="GVRFP_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LBRFPTitle" runat="server" class="DataViewTitleStyle" Text='<%# Eval("RFPTitle") %>' CommandArgument='<%# Eval("RFPId") %>'
                                    OnClick="LBRFPTitle_Click" CausesValidation="False"></asp:LinkButton>
                            </ItemTemplate>
                            <ControlStyle Width="240px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label1" runat="server" Text="Category"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label4" runat="server" Text='<%# Eval("RFPType") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="80px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label2" runat="server" Text="Poster"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LBRFPPoster" runat="server" 
                                    style="color: #0000CC; text-decoration: none;" Text='<%# Eval("ExpertId") %>' CommandArgument='<%# Eval("ExpertId") %>'
                                    OnClick="LBRFPPoster_Click" CausesValidation="False"></asp:LinkButton>
                            </ItemTemplate>
                            <ControlStyle Width="80px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label3" runat="server" Text="Date"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("RFPDate") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="80px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnRFPBack" runat="server" ImageUrl="~/Images/btnPublicBack.png"
                                CausesValidation="False" onclick="btnRFPBack_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="PostRFP">
            <div class="TopStyle">
                Post R.F.P.
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="5">
                    <tr>
                        <td class="TableHeaderStyle">
                            Title:
                        </td>
                        <td colspan="4">
                            <asp:TextBox ID="txtRFPTitle" runat="server" CssClass="TextboxStyle" 
                                Width="350px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvPostRFPTitle" runat="server" 
                                ErrorMessage="Required." ControlToValidate="txtRFPTitle" 
                                CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle">
                            Category:
                        </td>
                        <td colspan="4">
                            <asp:DropDownList ID="ddlPostRFPCategory" runat="server" Width="355px" 
                                CssClass="DropDownListStyle">
                                <asp:ListItem>Computer Science</asp:ListItem>
                                <asp:ListItem>Electronics</asp:ListItem>
                                <asp:ListItem>Mathematics</asp:ListItem>
                                <asp:ListItem>General Science</asp:ListItem>
                                <asp:ListItem>Social Studies</asp:ListItem>
                                <asp:ListItem>Geography</asp:ListItem>
                                <asp:ListItem>Physics</asp:ListItem>
                                <asp:ListItem>Chemistry</asp:ListItem>
                                <asp:ListItem>Biology</asp:ListItem>
                                <asp:ListItem>Economics</asp:ListItem>
                                <asp:ListItem>Other</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" style="vertical-align: top;">
                            Summary:
                        </td>
                        <td colspan="4">
                            <asp:TextBox ID="txtPostRFPSummary" runat="server" Height="100px" Width="350px"
                                TextMode="MultiLine" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td style="vertical-align: top;">
                            <asp:RequiredFieldValidator ID="rfvPostRFPSummary" runat="server" 
                                ErrorMessage="Required." ControlToValidate="txtPostRFPSummary" 
                                CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnPostRFPSubmit" runat="server" ImageUrl="~/Images/btnPublicSubmit.png"
                                OnClick="btnPostRFPSubmit_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
